ip -o -f inet addr|grep -v 'lo '|grep -E 'inet 10.|inet 172.1[6-9].|inet 172.2[0-9].|inet 172.3[0-1].|inet 192.168.'|head -1|awk '{print $4}'|cut -d/ -f1